package com.umakr.ax.security.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;


/**
 * <p>
 * 资源
 * </p>
 *
 * @author gx
 * @since 2017-04-25
 */
@TableName("rd_res")
@SuppressWarnings("serial")
public class Res extends BaseModel {

    /**
     * 资源名称
     */
	@TableField("res_name")
	private String resName;
    /**
     * 资源类型
模块：MODULE
菜单：ACTION
链接：LINK
     */
	@TableField("res_type")
	private String resType;
    /**
     * 图标
     */
	@TableField("res_icon")
	private String resIcon;
    /**
     * 叶子节点
     */
	@TableField("res_leaf")
	private Integer resLeaf;
    /**
     * 状态
     */
	@TableField("res_status")
	private String resStatus;
    /**
     * 父节点
     */
	@TableField("res_parent_id")
	private Long resParentId;
    /**
     * 一级
一级id冗余方便查询
     */
	@TableField("res_one_level")
	private Long resOneLevel;
    /**
     * 二级
二级id冗余方便查询
     */
	@TableField("res_two_level")
	private Long resTwoLevel;
	@TableField("res_url")
	private String resUrl;

	@TableField("res_index")
	private Integer resIndex;

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public String getResType() {
		return resType;
	}

	public void setResType(String resType) {
		this.resType = resType;
	}

	public String getResIcon() {
		return resIcon;
	}

	public void setResIcon(String resIcon) {
		this.resIcon = resIcon;
	}

	public Integer getResLeaf() {
		return resLeaf;
	}

	public void setResLeaf(Integer resLeaf) {
		this.resLeaf = resLeaf;
	}

	public String getResStatus() {
		return resStatus;
	}

	public void setResStatus(String resStatus) {
		this.resStatus = resStatus;
	}

	public Long getResParentId() {
		return resParentId;
	}

	public void setResParentId(Long resParentId) {
		this.resParentId = resParentId;
	}

	public Long getResOneLevel() {
		return resOneLevel;
	}

	public void setResOneLevel(Long resOneLevel) {
		this.resOneLevel = resOneLevel;
	}

	public Long getResTwoLevel() {
		return resTwoLevel;
	}

	public void setResTwoLevel(Long resTwoLevel) {
		this.resTwoLevel = resTwoLevel;
	}

	public String getResUrl() {
		return resUrl;
	}

	public void setResUrl(String resUrl) {
		this.resUrl = resUrl;
	}

	public Integer getResIndex() {
		return resIndex;
	}

	public void setResIndex(Integer resIndex) {
		this.resIndex = resIndex;
	}
}